package org.littlesun.management.ui.test;

import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;

public class PictureLabel extends Composite {
	  Label image, text;
	  Color white;
	 
	  public PictureLabel(Composite parent, int style) {
	     super(parent, style);
	     white = new Color(null, 255, 255, 255);
	     image = new Label(this, 0);
	     text = new Label(this, 0);
	     setBackground(white);
	     image.setBackground(white);
	     text.setBackground(white);
//	     addDisposeListener(new DisposeListener() {
//	         public void widgetDisposed(DisposeEvent e) {
//	            PictureLabel.this.widgetDisposed(e);
//	         }
//	     });
	  }
}